package com.sh.data.engine.repository.dao.api.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import com.sh.data.engine.repository.dao.base.EngineBaseModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
@TableName("tb_data_api_call_statistics")
public class DataApiCallStatisticsEntity extends EngineBaseModel<DataApiCallStatisticsEntity> {

    /**
     * 项目id
     */
    private Long projectId;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 总调用次数
     */
    private Long totalCount;

    /**
     * 累积调用成功次数
     */
    private Long succCount;

    /**
     * 累积调用失败次数
     */
    private Long failCount;

    /**
     * 统计日期
     */
    private Date statisticsDate;

}
